Input output analysis matrix and determinant